package su.user.service;

import java.util.List;
import java.util.Map;

import net.kuakao.core.dto.PagerDTO;
import su.user.entity.UserCustomer;
import su.user.entity.UserFhz;
import su.user.entity.UserGhs;
import su.user.entity.UserYwy;

/**
 * 
 * 
 * @author sushimeng
 * 
 */
public interface UserService {

	//-----------业务员
	public List<UserYwy> searchYwy(PagerDTO s);
	public UserYwy getYwyById(int id);

	public void saveYwy(UserYwy o)throws Exception;
	public void removeYwy(int id)throws Exception;
	
	//-----------供货商

	public List<UserGhs> searchGhsByPage(PagerDTO s);
	public UserGhs getGhsById(int id);


	public void saveGhs(UserGhs o)throws Exception;
	public void removeGhs(int id)throws Exception;

	//-----------发货站

	public List<UserFhz> searchFhz(PagerDTO s);
	public UserFhz getFhzById(int id);


	public void saveFhz(UserFhz o)throws Exception;
	public void removeFhz(int id)throws Exception;

	//-----------客户
	public List<Map> searchCustomer(PagerDTO s);
	public UserCustomer getCustomerById(int id);
	
	public void saveCustomer(UserCustomer o)throws Exception;
	public void removeCustomer(int id)throws Exception;

}